#pragma once


#include <iostream>
#include <fstream>
#include <sstream>
#include <string>

using namespace std;


#ifdef UNICODE


#define t( text )		L##text
#define tisalpha( c )	iswalpha( c )
#define tisdigit( c )	iswdigit( c )
#define tcout			wcout
#define tcin			wcin

typedef wchar_t			tchar;
typedef wstring			tstring;
typedef wistream		tistream;
typedef wostream		tostream;
typedef wfstream		tfstream;
typedef wifstream		tifstream;
typedef wofstream		tofstream;
typedef wstringstream	tstringstream;


#else


#define t( text )		text
#define tisalpha( c )	isalpha( c )
#define tisdigit( c )	isdigit( c )
#define tcout			cout
#define tcin			cin

typedef char			tchar;
typedef string			tstring;
typedef istream			tistream;
typedef ostream			tostream;
typedef fstream			tfstream;
typedef ifstream		tifstream;
typedef ofstream		tofstream;
typedef stringstream	tstringstream;


#endif